package com.media.entrance.model;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.ArrayList;
import java.util.List;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class BatchResultDataModel {
    public List<MatchAndResourceModel> getSuccess() {
        if (success == null) {
            success = new ArrayList<>();
        }
        return success;
    }

    public void setSuccess(List<MatchAndResourceModel> success) {
        this.success = success;
    }

    @Override
    public String toString() {
        return "BatchResultDataModel{" +
                "success=" + success +
                ", failed=" + failed +
                ", matched=" + matched +
                ", matching=" + matching +
                ", unmatch=" + unmatch +
                ", pausing=" + pausing +
                ", resting=" + resting +
                '}';
    }

    public List<MatchAndResourceModel> getFailed() {
        if (failed == null) {
            failed = new ArrayList<>();
        }
        return failed;
    }

    public void setFailed(List<MatchAndResourceModel> failed) {
        this.failed = failed;
    }



    List<MatchAndResourceModel> success;
    List<MatchAndResourceModel> failed;

    MatchAndResourceModel matched;

    public MatchAndResourceModel getMatching() {
        return matching;
    }

    public void setMatching(MatchAndResourceModel matching) {
        this.matching = matching;
    }

    MatchAndResourceModel matching;

    public MatchAndResourceModel getMatched() {
        return matched;
    }

    public void setMatched(MatchAndResourceModel matched) {
        this.matched = matched;
    }

    public MatchAndResourceModel getUnmatch() {
        return unmatch;
    }

    public void setUnmatch(MatchAndResourceModel unmatch) {
        this.unmatch = unmatch;
    }

    MatchAndResourceModel unmatch;

    public MatchAndResourceModel getPausing() {
        return pausing;
    }

    public void setPausing(MatchAndResourceModel pausing) {
        this.pausing = pausing;
    }

    MatchAndResourceModel pausing;

    public MatchAndResourceModel getResting() {
        return resting;
    }

    public void setResting(MatchAndResourceModel resting) {
        this.resting = resting;
    }

    MatchAndResourceModel resting;
}
